home *** CD-ROM | disk | FTP | other *** search
- /************************************************************************/
- /* */
- /* Source - GetCalendar.c */
- /* Author - Alexander S. Colwell, Copyright © 1990 */
- /* */
- /* Purpose - This is Calendar simulator. */
- /* */
- /************************************************************************/
-
- #include "Calendar.h" /* Calendar defs */
-
- #ifndef ExtArea /* Check if debugging mode */
- #undef main /* Remove previous definition */
- #define main GetCalendar /* Set debugging procedure name */
- #endif
-
- pascal void main(CCalendar **eaObject,
- short *itsMonth, short *itsYear, long *itsSelect)
- {
- *itsMonth = (*eaObject)->month;/* Copy calendar date/selection */
- *itsYear = (*eaObject)->year;
- *itsSelect = (*eaObject)->daySelect;
- }
-